/**
 * @file
 * @author jinguangguo
 * @date 2017/8/11
 */

import ajax from '../../../grsc-base/util/ajax';

export default {

    /**
     * 领取奖励
     */
    getPresned(param = {}, header = {}) {
        return ajax.get('/exchangeApi/activity/receive', {
            data: param,
            header: header
        });
    },

    /**
     * 是否领取过  不能领取展示原因
     */
    isGetPresend(param = {}) {
        return ajax.get('/exchangeApi/activity/check', {
            data: param
        });
    }
};